import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";


export const routes:Array<RouteRecordRaw>=[
    {
        path:'/',
        name:'Home',
        meta:{
            title:'app',
        },
        component:()=>import('../views/Home.vue'),
    },
    {
        path:'/about',
        name:'About',
        component:()=>import('../views/About.vue'),
    }
];

const router = createRouter({
    history:createWebHistory(),
    routes,
});

export default router